<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="33.02" y2="0" width="0" layer="20"/>
<wire x1="33.02" y1="0" x2="33.02" y2="52.07" width="0" layer="20"/>
<wire x1="33.02" y1="52.07" x2="0" y2="52.07" width="0" layer="20"/>
<wire x1="0" y1="52.07" x2="0" y2="0" width="0" layer="20"/>
<text>RELAY</text>
<text>SENSOR</text>
</plain>
<libraries>
<library name="SparkFun-Connectors-new">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SCREWTERMINAL-5MM-2">
</package>
</packages>
</library>
<library name="relay">
<description>&lt;b&gt;Relays&lt;/b&gt;&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;Eichhoff
&lt;li&gt;Finder
&lt;li&gt;Fujitsu
&lt;li&gt;HAMLIN
&lt;li&gt;OMRON
&lt;li&gt;Matsushita
&lt;li&gt;NAiS
&lt;li&gt;Siemens
&lt;li&gt;Schrack
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="REED">
<description>&lt;b&gt;RELAY&lt;/b&gt;&lt;p&gt;
reed, 1 x norm. open with polarity, grid 5.08</description>
</package>
</packages>
</library>
<library name="optocoupler">
<description>&lt;b&gt;Opto Couplers&lt;/b&gt;&lt;p&gt;
Siemens, Hewlett-Packard, Texas Instuments, Sharp, Motorola&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="MINI-FLAT-4">
<description>&lt;b&gt;TOSHIBA PHOTOCOUPLER GaAs IRED &amp; PHOTO-TRANSISTOR&lt;/b&gt; 11-3A1&lt;/b&gt;&lt;p&gt;
Source: http://www.semicon.toshiba.co.jp/td/en/Opto/Photocoupler/en_20050928_TLP283_datasheet.pdf</description>
</package>
</packages>
</library>
<library name="SparkFun-DiscreteSemi">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find discrete semiconductors- transistors, diodes, TRIACs, optoisolators, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT23">
<description>&lt;b&gt;SOT-23&lt;/b&gt;</description>
</package>
<package name="SOD-323">
</package>
</packages>
</library>
<library name="SparkFun-Resistors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="0805">
</package>
</packages>
</library>
<library name="raspberrypi_bastelstube_v13">
<description>&lt;b&gt;Raspberry Pi&lt;/b&gt; by &lt;b&gt;Martin's Bastelstube&lt;/b&gt;
&lt;p&gt;
Different shapes of piggyback boards for the famous &amp;amp; fabulous
&lt;a href="http://www.raspberrypi.org/"&gt;Raspberry Pi&lt;/a&gt; computer.
&lt;p&gt;
The outline of the Raspberry Pi board is drawn on layer 52 bDocu, so you can make it invisible if necessary.&lt;br/&gt;
Recommendation: Start your design with RASPI_BOARD_*_FULL, so you are aware of all the big components and
connectors when you're drawing the dimensions of your board and placing your own components.&lt;br/&gt;
Later, you can simply change the package of your Raspberry Pi connector to the RASPI_BOARD_*_EDGES type,
so you can concentrate on your own design.
&lt;p&gt;
Most of my board packages don't have the outline drawn in layer 20 Dimension (except the HATs). This allows you to deviate from the original Raspberry Pi board shape, e.g. when you need more space behind the GPIO connector for the routing of the power supply lines. If you want to stick exactly to the Raspberry Pi board shape, then just draw the Dimension layer right on the lines in layer bDocu.

&lt;hr&gt;&lt;br/&gt;

Version 1.3
&lt;ul&gt;
&lt;li&gt;Added the shape and dimensions of the HAT board with &amp;amp; without the camera and display flex cutout&lt;/li&gt;
&lt;li&gt;New GPIO connector version (suffix &amp;quot;#&amp;quot;) with all pins connected (no more &amp;quot;n.c.&amp;quot; pins)&lt;/li&gt;
&lt;li&gt;Two more &amp;quot;AB-&amp;quot; boards with 5 and 6 drill holes / pads, mechanically compatible with all RasPi versions&lt;/li&gt;
&lt;/ul&gt;

Version 1.2
&lt;ul&gt;
&lt;li&gt;Added a 26-pin GPIO connector with board dimensions of model B+&lt;br/&gt;
       for backwards compatibility with models A and B, named &amp;quot;B-&amp;quot;&lt;/li&gt;
&lt;/ul&gt;

Version 1.1
&lt;ul&gt;
&lt;li&gt;New GPIO connector and board dimensions of model B+&lt;/li&gt;
&lt;li&gt;Old connector and board (for models A and B) renamed to AB&lt;/li&gt;
&lt;li&gt;GPIO pin numbers on connector changed to match Rev2 board design&lt;/li&gt;
&lt;/ul&gt;

Version 1.0
&lt;ul&gt;
&lt;li&gt;More detailed descriptions for all components&lt;/li&gt;
&lt;li&gt;Published on Cadsoft webpage&lt;/li&gt;
&lt;/ul&gt;

&lt;hr&gt;&lt;br/&gt;

Designed by &lt;a href="http://bastelstube.rocci.net/"&gt;Martin's Bastelstube&lt;/a&gt;&lt;br&gt;
Comments / complaints / bug reports / suggestions to &lt;author&gt;eightbit@web.de&lt;/author&gt;</description>
<packages>
<package name="RASPI_GPIO_B+_PIN">
<description>40-pin connector for Raspberry Pi GPIO model B+&lt;br/&gt;
 &amp;nbsp; just the two rows of pins</description>
</package>
</packages>
</library>
<library name="SparkFun-Capacitors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="1210">
</package>
<package name="0805">
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="DCJACK_2MM_SMT">
<description>2.0/2.1mm DC Jack - SMT
&lt;p&gt;4UConnector: 03267&lt;/p&gt;
&lt;p&gt;Note: Small tRestrict polygon's were added to the ground pads to improve solderability when this part is used in combination with a ground pour.  By default, Eagle will product four large bridges to the ground pour significantly increasing the heat distribution on the pads and preventing lead-free solder from reflowing in certain situations.  For more details, see: http://www.microbuilder.eu/Blog/09-12-14/Reducing_Thermals_for_Large_Pads_in_Eagle.aspx&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="AP2331">
<packages>
<package name="SOT23-6">
</package>
</packages>
</library>
<library name="SparkFun-Passives">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find resistors, capacitors, inductors, test points, jumper pads, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SRN6045">
</package>
</packages>
</library>
<library name="microbuilder">
<description>&lt;h2&gt;&lt;b&gt;microBuilder.eu&lt;/b&gt; Eagle Footprint Library&lt;/h2&gt;

&lt;p&gt;Footprints for common components used in our projects and products.  This is the same library that we use internally, and it is regularly updated.  The newest version can always be found at &lt;b&gt;www.microBuilder.eu&lt;/b&gt;.  If you find this library useful, please feel free to purchase something from our online store. Please also note that all holes are optimised for metric drill bits!&lt;/p&gt;

&lt;h3&gt;Obligatory Warning&lt;/h3&gt;
&lt;p&gt;While it probably goes without saying, there are no guarantees that the footprints or schematic symbols in this library are flawless, and we make no promises of fitness for production, prototyping or any other purpose. These libraries are provided for information puposes only, and are used at your own discretion.  While we make every effort to produce accurate footprints, and many of the items found in this library have be proven in production, we can't make any promises of suitability for a specific purpose. If you do find any errors, though, please feel free to contact us at www.microbuilder.eu to let us know about it so that we can update the library accordingly!&lt;/p&gt;

&lt;h3&gt;License&lt;/h3&gt;
&lt;p&gt;This work is placed in the public domain, and may be freely used for commercial and non-commercial work with the following conditions:&lt;/p&gt;
&lt;p&gt;THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
&lt;/p&gt;</description>
<packages>
<package name="PANASONIC_D">
<description>&lt;b&gt;Panasonic Aluminium Electrolytic Capacitor VS-Serie Package D&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="JP1" library="SparkFun-Connectors-new" package="SCREWTERMINAL-5MM-2" value="SENSOR"/>
<element name="JP2" library="SparkFun-Connectors-new" package="SCREWTERMINAL-5MM-2" value="RELAY"/>
<element name="K1" library="relay" package="REED" value="35701331">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="NAME"/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="POPULARITY" value="1"/>
</element>
<element name="OK1" library="optocoupler" package="MINI-FLAT-4" value="TLP283">
<attribute name="MF" value=""/>
<attribute name="MPN" value=""/>
<attribute name="NAME"/>
<attribute name="OC_FARNELL" value="unknown"/>
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="POPULARITY" value="1"/>
</element>
<element name="Q1" library="SparkFun-DiscreteSemi" package="SOT23" value="BSS123LT1G">
<attribute name="NAME"/>
<attribute name="PROD_ID" value="TRANS-08345"/>
</element>
<element name="R1" library="SparkFun-Resistors" package="0805" value="10kΩ">
<attribute name="NAME"/>
</element>
<element name="R2" library="SparkFun-Resistors" package="0805" value="560Ω">
<attribute name="NAME"/>
</element>
<element name="R3" library="SparkFun-Resistors" package="0805" value="10kΩ">
<attribute name="NAME"/>
</element>
<element name="X1" library="raspberrypi_bastelstube_v13" package="RASPI_GPIO_B+_PIN" value="RASPI_GPIO_B+#_PIN">
<attribute name="NAME"/>
</element>
<element name="D1" library="SparkFun-DiscreteSemi" package="SOD-323" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP3" library="adafruit" package="DCJACK_2MM_SMT" value="2.1MMJACKSMT"/>
<element name="IC1" library="AP2331" package="SOT23-6" value="AP62200WU">
<attribute name="NAME"/>
</element>
<element name="C1" library="SparkFun-Capacitors" package="1210" value="10µF">
<attribute name="NAME"/>
</element>
<element name="C2" library="SparkFun-Capacitors" package="0805" value="0.1µF">
<attribute name="NAME"/>
</element>
<element name="L2" library="SparkFun-Passives" package="SRN6045" value="4.7uH">
<attribute name="NAME"/>
<attribute name="PROD_ID" value="NDUC-11627"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="microbuilder" package="PANASONIC_D" value="47uF">
<attribute name="NAME"/>
</element>
<element name="R4" library="SparkFun-Resistors" package="0805" value="52.3kΩ">
<attribute name="NAME"/>
</element>
<element name="R5" library="SparkFun-Resistors" package="0805" value="10kΩ">
<attribute name="NAME"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="K1" pad="1"/>
<contactref element="JP2" pad="2"/>
</signal>
<signal name="N$2">
<contactref element="K1" pad="7"/>
<contactref element="JP2" pad="1"/>
</signal>
<signal name="GND">
<contactref element="Q1" pad="2"/>
<contactref element="R1" pad="1"/>
<contactref element="X1" pad="6"/>
<contactref element="X1" pad="39"/>
<contactref element="X1" pad="34"/>
<contactref element="X1" pad="30"/>
<contactref element="X1" pad="25"/>
<contactref element="X1" pad="20"/>
<contactref element="X1" pad="14"/>
<contactref element="X1" pad="9"/>
<contactref element="JP1" pad="1"/>
<contactref element="OK1" pad="3"/>
<contactref element="IC1" pad="1"/>
<contactref element="C1" pad="2"/>
<contactref element="C3" pad="-"/>
<contactref element="R5" pad="1"/>
<contactref element="JP3" pad="GNDBREAK"/>
<contactref element="JP3" pad="GND"/>
</signal>
<signal name="N$3">
<contactref element="Q1" pad="3"/>
<contactref element="K1" pad="5"/>
<contactref element="D1" pad="2"/>
</signal>
<signal name="+5V">
<contactref element="K1" pad="3"/>
<contactref element="X1" pad="2"/>
<contactref element="X1" pad="4"/>
<contactref element="D1" pad="1"/>
<contactref element="L2" pad="2"/>
<contactref element="C3" pad="+"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="+3V3">
<contactref element="X1" pad="17"/>
<contactref element="R3" pad="2"/>
</signal>
<signal name="N$4">
<contactref element="Q1" pad="1"/>
<contactref element="R1" pad="2"/>
<contactref element="X1" pad="11"/>
</signal>
<signal name="N$6">
<contactref element="JP1" pad="2"/>
<contactref element="OK1" pad="2"/>
</signal>
<signal name="N$7">
<contactref element="OK1" pad="1"/>
<contactref element="R2" pad="1"/>
</signal>
<signal name="N$5">
<contactref element="X1" pad="12"/>
<contactref element="OK1" pad="4"/>
<contactref element="R3" pad="1"/>
</signal>
<signal name="N$50">
<contactref element="IC1" pad="2"/>
<contactref element="C2" pad="1"/>
<contactref element="L2" pad="1"/>
</signal>
<signal name="N$51">
<contactref element="C2" pad="2"/>
<contactref element="IC1" pad="6"/>
</signal>
<signal name="N$11">
<contactref element="IC1" pad="4"/>
<contactref element="R4" pad="1"/>
<contactref element="R5" pad="2"/>
</signal>
<signal name="+12V">
<contactref element="IC1" pad="3"/>
<contactref element="C1" pad="1"/>
<contactref element="JP3" pad="PWR1"/>
<contactref element="JP3" pad="PWR2"/>
<contactref element="R2" pad="2"/>
</signal>
<signal name="3V3A">
<contactref element="X1" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
